package com.es.entity;

import lombok.Getter;
import lombok.Setter;
import org.springframework.data.annotation.Id;
import org.springframework.data.elasticsearch.annotations.Document;


@Setter
@Getter
@Document(indexName = "myuser")
public class User {

    @Id
    private String id;
    private String name;
    private Integer age;
    private Integer gender;
    private String car;

}
